<template>
  <div class="askingfor-pop">
    <el-dialog
      :visible="checkExchangeShow"
      @close="colseExchangePop"
      @open='openAsking'
      width="50%"
      title='学生流转详情'
    >
      <el-table
      :data="tableData"
      height="300"
      style="width: 100%">
      <el-table-column
        prop="operation"
        label="操作类型"
        >
      </el-table-column>
      <el-table-column
        prop="fromType"
        label="来源Type"
        >
      </el-table-column>
      <el-table-column
        prop="from"
        label="来源id"
        > 
      </el-table-column>
      <el-table-column
        prop="toType"
        label="去向Type"
        >
      </el-table-column>
      <el-table-column
        prop="to"
        label="去向Id"
        >
      </el-table-column>
      <el-table-column
        prop="customerInfo"
        label="客户信息"
        >
      </el-table-column>
      <el-table-column
        prop="createDate"
        label="创建时间"
        >
      </el-table-column>
      <el-table-column
        prop="createPeople"
        label="创建人"
        >
      </el-table-column>
    </el-table>
    </el-dialog>
    
  </div>
</template>

<script>
import axios from 'axios';

export default {
  name: "CheckExchange",
  components: {
    
  },
  props:{
    checkExchangeShow:false,
    customerCode:String,
    tableData:[]
  },
  data() {
    return {
      message: '',
      tableData: [
        
      ],
      
    };
  },
  methods: {
    colseExchangePop() {
      this.message=''
      this.tableData=[]
      this.$emit("colseExchangePop",this.checkExchangeShow);
    },
    openAsking(val){
      this.$emit("openAsking",this.checkrepeatShow);
    },
    getData(){
       // 查询学生流转
      
    }
  },
  watch:{},
  mounted() {
    this.getData()
  }
};
</script>
<style lang='scss' scoped>
.askingfor-cont{
  width: 100%;
  margin: 0 auto;
  display: flex;
  margin-bottom: 20px;
  flex-direction: row;
  .askingfor-input{
    width: 90%;
  }
}
</style>



